package MOLE.Bill;

import java.util.*;
import MOLE.*;

/** 
 BillesGroupes ��ժҪ˵����
*/
public class BillesGroupList extends BillesGroup
{
	public ArrayList GroupList;

	public BillesGroupList(ArrayList groupidList)
	{
		//
		// TODO: �ڴ˴���ӹ��캯���߼�
		//
		//GroupList=groupidList;

		GroupList = MOLE.comm.NoRepeat(groupidList);

	}

//C# TO JAVA CONVERTER WARNING: There is no Java equivalent to C#'s shadowing via the 'new' keyword:
//ORIGINAL LINE: new public ArrayList Chupiao()
	public final ArrayList Chupiao()
	{
		ArrayList all = new ArrayList();
		for (int i = 0;i < GroupList.size();i++)
		{
			int groupid = MOLE.str.ConvertToInt(GroupList.get(i).toString());
			ArrayList t = (new BillesGroup(groupid)).Chupiao();

			 all = MOLE.comm.HabinArraylist(all, t);
		}
		return all;


	}
}